﻿using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Application.UserApp.Dtos
{
    public class UserDto
    {
        public Int32 Id { get; set; }

        /// <summary>
        /// 用户登录名(用户登录系统)
        /// </summary>
        public string Login_name { get; set; }

        /// <summary>
        /// 登陆密码(前段加密、后端加密)
        /// </summary>
        public string User_pwd { get; set; }

        /// <summary>
        /// 可空  用户名(用户设置的真实名称)
        /// </summary>
        public string User_name { get; set; }

        /// <summary>
        /// 可空  找回密码使用(建议设置)
        /// </summary>
        public string User_email { get; set; }

        /// <summary>
        /// 用户性别(默认神秘人)(0:神秘人/1:男/2:女)
        /// </summary>
        public int User_gender { get; set; }

        /// <summary>
        /// 可空  注册用户IP
        /// </summary>
        public string User_ip { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        public int Role_id { get; set; }

        /// <summary>
        /// 创建时间(当前时间)
        /// </summary>
        public DateTime Createtime { get; set; } = DateTime.Now;

        /// <summary>
        /// (默认否:false) 是否禁用(管理员设置)
        /// </summary>
        public int Disable { get; set; }

        /// <summary>
        ///  可空  禁用原因
        /// </summary>
        public string Disabledesc { get; set; }
    }
}
